package com.dnjn.mes.biz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.mes.biz.domain.MesAssembly;

import java.util.List;

/**
 * <p>
 * 组件|模块表 服务类
 * </p>
 *
 * @author Amber
 * @since 2023-07-26
 */
public interface IMesAssemblyService extends IService<MesAssembly> {


    MesAssembly selectByAssemblyName(Long equipmentId, String assemblyName);

    Integer getMaxOrdinal();

    List<MesAssembly> searchAssemblyList(Long equipmentId);

    MesAssembly queryByCrumb(String equipmentName, String assemblyName);

    Boolean removeAssembly(Long assemblyId);
}
